<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<html>
<head>
    <title>更新用户</title>
</head>
<body>
    <h1>SpringMVC 更新用户信息</h1>
    <hr/>

    <form:form action="/users/updateP" method="post" >
        <table>
            <tr>
                <td>用户ID</td>
                <td><input type="text" name="id" value="${user.id }" readonly="readonly"></td>
            </tr>
            <tr>
                <td>用户名</td>
                <td><input type="text" name="name" value="${user.name }"></td>
            </tr>
            <tr><td>用户密码</td>
                <td><input type="text" name="password" value="${user.password }"></td>
            </tr>
        </table>
        <input type="submit" value="提交">
        <input type="reset" value="重置">
    </form:form>

</body>
</html>
